qacli import

Import information from the Perforce QAC installation, user data location or a Perforce QAC project.

Usage

import  [-P <directory>] [-K <config name>] [-u <file or directory>] -t <CCT|USER-CONFIG> [-C <PROJECT|LOCAL|INSTALL|USER|ALL>] [--force] [--path <path>] [--] [-h] <import-file>

Extended Description

This command enables you to import information from the Perforce QAC installation, user data location or a Perforce QAC project. At present you are only able to import CCTs.

There is also a command that enables you to export data, which you can find more information about in qacli export.

Options

Name, shorthand Default Description
--cct-location, -C  

Specify the location where the CCT(s) will be imported to. Possible values are:

  • PROJECT: Import to the specified (-P) Perforce QAC project.
  • LOCAL: Import to the local user data location.
  • INSTALL: Import to the installation directory. *
  • ALL: Import to the specified (-P) Perforce QAC project, the local user data location and the installation directory. *
  • USER: Import to the specified (-u) location.

* Must have appropriate privileges

--config, -K   For projects with multiple configurations, specify which configuration to use. If none specified, then the default will be used.
--force   Forces the operation, skipping checking. Usable with --type USER-CONFIG
--help, -h   Displays usage information and exits.
--ignore-rest, --   Ignores the rest of the labeled arguments following this flag.
--path   Explicitly set the path to import the user-confiiguration from. This is usually not needed.
--qaf-project, -P . Specify a path to a valid Perforce QAC project.
--type, -t  

Specify the type of export to perform. Supported types are:

  • CCT - Import CCT(s) in a compressed archive.
  • USER-CONFIG - Imports the user configuration of QAF from a previous installation.

--user-defined, -u   Specifies a path where the CCTs will be extracted to.
<import-file>   Specify a path to a file to import data from.

For more information, see the following topics: